#include "stdafx.h"
#include "HarrisOptionWindow.h"

namespace StereoCorrespond {
	System::Void HarrisOptionWindow::differentialTrackBar_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
		diffLabel->Text = (differentialTrackBar->Value/10.0).ToString("0.00");
	}

	System::Void HarrisOptionWindow::integralTrackBar_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
		intLabel->Text = (integralTrackBar->Value/10.0).ToString("0.00");
	}

	System::Void HarrisOptionWindow::harrisTrackBar_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
		lambdaLabel->Text = (harrisTrackBar->Value/100.0).ToString("0.00");
	}

	System::Void HarrisOptionWindow::runButton_Click(System::Object^  sender, System::EventArgs^  e) {
		DialogResult = System::Windows::Forms::DialogResult::OK;
		Hide();
	}
}